﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RakutenProxy.Model.Rakuten
{
    public class ProductAttributeValue:IEquatable<Model.NopCommerce.ProductVariantAttributeValue>
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string FormValue { get; set; }
        public int ProductAttributeId { get; set; }

        public virtual ProductAttribute ProductAttribute { get; set; }

        public bool Equals(NopCommerce.ProductVariantAttributeValue other)
        {
            return this.Name.Equals(other.Name);
        }
    }
}
